Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IndexOf Method
See Also 
Leadtools.Dicom.AddIn Namespace > Generic ThreadSafeList Class : IndexOf Method



item
The object to locate in the Generic IList.
item
The object to locate in the Generic IList.
Determines the index of a specific item in the Generic IList.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeList(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
C# 
public int IndexOf( 
   T item
)
C++/CLI 
public:
int IndexOf( 
   T item
) 

Parameters

item
The object to locate in the Generic IList.

Return Value

The index of item if found in the list; otherwise, -1.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features